home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / dmo.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  680b  |  30 lines

  1. //------------------------------------------------------------------------------
  2. // File: DMO.h
  3. //
  4. // Desc: Headers needed by almost all DMOs.
  5. //
  6. // Copyright (c) 1999 - 2001, Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __DMO_H__
  11. #define __DMO_H__
  12.  
  13.  
  14. #include "mediaerr.h"
  15.  
  16. // When using ATL we get collisions on Lock, so in this case rename
  17. // IMediaObject::Lock to IMediaObject::DMOLock
  18.  
  19. #ifdef FIX_LOCK_NAME
  20. #define Lock DMOLock
  21. #endif
  22. #include "mediaobj.h"
  23. #ifdef FIX_LOCK_NAME
  24. #undef Lock
  25. #endif
  26. #include "dmoreg.h"
  27. #include "dmort.h"
  28.  
  29. #endif //__DMO_H__
  30.